<?php
if (!defined('CURRENT_PATH')){
	die('Hacking attempt');
	}
	$up=spClass('upload');
	$page=isset($_GET[page])?$_GET[page]:1;
	$res=$up->spPager($this->spArgs('page', $page),18)->findAll($conditions='upload_id!=0');
	$this->res=$res;
	$this->pager = $up->spPager()->getPager();
	$this->pageflag=1;
	$this->display('management/file_manage.html');		
